one liner if else replacement in python

37

>>> a = "Hello" if foo() else "Goodbye"

Comments

Submit
0 Comments